
formsCallbackMap = {
		loginForm:{
			onSuccess:function(response){
				$(".error").removeClass("error");
				if(typeof response.error !== "undefined"){
					for(key in response.error){
						$("#"+key).addClass("error");
					}
					if(response.error == "invalid username / password"){
						$("#error-msg").text(response.error);
					}
					return;
				}
				window.location = window.location.href;
			},
			onError:function(respose){
				
			}
		},
};